package com.mall.cart.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.cart.entity.dto.CartItemDTO;
import com.mall.cart.entity.po.Cart;
import com.mall.cart.entity.vo.CartSummaryVO;

public interface CartService extends IService<Cart> {
    void addItemToCart(CartItemDTO cartItemDTO);

    CartSummaryVO getCartSummary(Long userId);

    void updateCartItemQuantity(Long userId, Long productId, Integer quantity);

}